﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    <script type="text/javascript">
        var a = 3, b = 4, c = 5;
        if ((a >= b) && (b >= c)) {
            document.writeln("The numbers are "+ a + b + c);
        }
        else {
            if ((b >= a) && (a >= c)) {
                document.writeln("The numbers are "+ b + a + c);
            }
            else if ((b >= c) && (c >= a)) {
                document.writeln("The numbers are " + b + c + a);
            }
            else if ((c >= b) && (b >= a)) {
                document.writeln("The numbers are "+ c + b + a);
            }
            else if ((c >= a) && (a >= b)) {
                document.writeln("The numbers are " + c + a + b);
            }
            else {
                if ((a >= c) && (c >= b)) {
                    document.writeln("The numbers are " + a + c + b);
                }
            }
        }
    </script>
</body>
</html>
